﻿using StarsAdmin.Core.Consts;
using StarsAdmin.Core.DB.Entities;

namespace StarsAdmin.Core.DB.SeedData
{
    public class RoleSeedData : IEntitySeedData<RoleEntity>
    {
        public IEnumerable<RoleEntity> HasData()
        {
            return [
                new RoleEntity {Id=1300000000111,Name = "超级管理员",Identifying = RoleTypeConst.SuperAdmin,Description = "这是超级管理员",IsEnabled = true},
                new RoleEntity {Id=1300000000112,Name = "系统管理员",Identifying = RoleTypeConst.SystemAdmin,Description = "这是系统管理员",IsEnabled = true},
                new RoleEntity {Id=1300000000113,Name = "用户管理员",Identifying = RoleTypeConst.UserAdmin,Description = "这是用户管理员",IsEnabled = true}
                ];
        }
    }
}